<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <link rel="icon"  href="/public/vite.ico">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  <title>最车科技</title>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.ts"></script>
  <script>
    // 判断是否为本地环境
    if (window.location.hostname === 'localhost' || window.location.hostname === '47.94.108.3') {
      // 创建 <meta> 标签
      const metaTag = document.createElement('meta');
      metaTag.name = 'referrer';
      metaTag.content = 'no-referrer';

      // 将 <meta> 标签添加到 <head> 中
      document.head.appendChild(metaTag);
    }
  </script>
</body>

</html>